<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>美甲管理系统登录</title>
<style type="text/css">
body{background:url(<%=path%>/images/pagebg.jpg) repeat-y center center;
font-family:Geneva, Arial, Helvetica, sans-serif;
margin:0;
padding:0;
border:0;
}
#container {width: 100%; height: 100%; display: table; }
#loginbox {width:510px; height:198px; background:#666; margin:160px auto; border:5px solid #bbb}
#form { padding:20px 10px}
.tables {font-size:24px; color:#eee; font-weight:bold}
.tables a{font-size:12px; color:#2c9be8; background:#4f4f4f; padding:2px 4px 15px}
.tables a:hover{font-size:12px; color:#2c9be8; background:#4f4f4f; padding:2px 4px}
.tables span{font-size:14px; color:#eee; }
.textInput {width:200px; height:36px; font-size:30px; background:#333; border:2px solid #fff; padding:5px; color:#FFF; text-align:left}
.submit {background:#2c9be8; padding:25px 10px; font-size:30px; border:1px solid #FFF; font-weight:bold; font-family:Geneva, Arial, Helvetica, sans-serif;cursor:pointer;}
</style>
</head>

<body>
<div id="container">
<div id="loginbox">
    <form id="form" action="<%=path %>/staff/login.action" method="post">
      <table class="tables"  border="0">
     	<tr>
     		<td colspan="4" align="center">
     		     焱焱美甲
     		</td>
     	</tr>
        <tr>
          <td width="140"><div align="right">用户名:</div></td>
          <td><input name="username" id="username" value="${username}"  type="text" class="textInput" /></td>
          <td width="120" rowspan="2"><div align="center">
            <input name="" type="submit" value="登录" class="submit" />
          </div></td>
        </tr>
        <tr>
          <td><div align="right">密码:</div></td>
          <td><input id="password" name="password" type="password" class="textInput" /></td>
        </tr>
      
        <tr>
          <td colspan="4" align="center"><span style="font-size:15px;color:#FFC1C1">${error }</span></td>
        </tr>
          <%--
        <tr>
          <td>&nbsp;</td>
          <td valign="top" style="font-size:11px;">You have not account? <a href="#">Click here</a> </td>
          <td>&nbsp;</td>
        </tr>
         --%>
      </table>
    </form>
</div>
</div>
</body>
</html>